const Layout = () => import('@/layout/index.vue')
const activity = () => import('@/views/avtivity/index.vue')
const record1 = () => import('@/views/avtivity/record.vue')
const Value = () => import('@/views/home/value.vue')
const scarify1 = () => import('@/views/activity/scarify.vue')
export default [
  {
    path: '/activity',
    component: Layout,
    name: 'activity',
    meta: {
      title: '活动管理',
    },
    icon: 'icon-home',
    children: [
      {
        path: '/index',
        name: 'index',
        component: activity,
        meta: {
          title: '活动列表',
        },
      },
      {
        path: '/record',
        name: 'record',
        component: record1,
        meta: {
          title: '领取优惠卷记录',
        },
      },
      {
        path: '/scarify',
        name: 'scarify',
        component: scarify1,
        meta: {
          title: '消费记录',
        },
      },
      {
        path: '/value',
        name: 'value',
        component: Value,
        meta: {
          title: '站点信息',
        },
        hidden: true,
      },
    ],
  },
]
